<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}">
<title>{$site_name}{lang button_login} - Powered by Cyask</title>
<link href="{$styledir}/1000ask.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="include/functions.js"></script>
<script type="text/javascript">
function check_loginform(f)
{
	var username;
	var password;
	username=str_trim(f.username.value);
	password=str_trim(f.password.value);
	f.username.value=username;
	f.password.value=password;
	if(f.username.value=="")
	{
		f.username.focus();
		alert("{lang warning_username_null}");
		return false;
	}
	if(f.password.value=="")
	{
		f.password.focus();
		alert("{lang warning_password_null}");
		return false;
	}
}
</script>
</head>
<body>
<div id="main" style="height:100%">
<div align="left">
<table cellspacing="3" cellpadding="3" width="100%" border="0">
<tr><td valign="top" width="160">&nbsp;&nbsp;<a href="./"><img src="{$styledir}/1000ask.gif" border="0" /></a></td>
<td class="f14" nowrap="nowrap">&nbsp;&nbsp;<a href="./"><b>{lang button_back_index}</b></a></td></tr>
</table>
</div>
<div id="c90">
<div class="t3 bcb"><div class="t3t bgb">{lang button_login}</div></div>
<div class="b3 bcb mb12">
<div class="w100">
<br />
<form name="loginform" action="login.php" method="post" onSubmit="return check_loginform(this);">
<table cellspacing="0" cellpadding="0" width="100%" valign="top" border="0">
<tr><td class="f14" width="100%" height="50" colspan="2" valign="top" align="center">{lang warning_login_note}</td></tr>
<tr><td class="f14" width="40%" height="35" align="right" valign="top" nowrap="nowrap">
{lang menu_username}:&nbsp;&nbsp;&nbsp;</td>
<td width="60%" height="35" valign="top"><input type="text" name="username" size="20" maxlength="20" /></td></tr>
<tr>
<td class="f14" width="40%" height="35" align="right" valign="top" nowrap="nowrap">
{lang menu_password} :&nbsp;&nbsp;&nbsp;</td>
<td height="35" width="60%" valign="top"><input type="password" name="password" size="20" maxlength="32" /></td></tr>
<tr>
<td class="f14" width="40%" height="35" align="right" valign="top" nowrap="nowrap">
{lang security_question} :&nbsp;&nbsp;&nbsp;</td>
<td height="35" width="60%" valign="top">
<select name="questionid" tabindex="4">
<option value="0">{lang security_question_0}</option>
<option value="1">{lang security_question_1}</option>
<option value="2">{lang security_question_2}</option>
<option value="3">{lang security_question_3}</option>
<option value="4">{lang security_question_4}</option>
<option value="5">{lang security_question_5}</option>
<option value="6">{lang security_question_6}</option>
<option value="7">{lang security_question_7}</option>
</select>
<div style="padding:3px, 0px">{lang login_secques_comment}</div>
</td></tr>
<tr>
<td class="f14" width="40%" height="35" align="right" valign="top" nowrap="nowrap">
{lang security_answer} :&nbsp;&nbsp;&nbsp;</td>
<td height="35" width="60%" valign="top">
<input type="text" name="answer" size="40" tabindex="5"></td></tr>
<tr>
<td class="f14" height="35" align="right" valign="top" nowrap="nowrap">&nbsp;</td>
<td height="35" valign="top">
<input type="submit" name="loginsubmit" value="{lang button_login}" class="bnsrh" />
<input type="hidden" name="command" value="login" />
<input type="hidden" name="formhash" value="{FORMHASH}">
<input type="hidden" name="url" value="{$url}" />
&nbsp;&nbsp;<a href="password.php?action=getpw" target="_blank">{lang button_getpass}</a>
</td></tr>
<tr>
<td class="f14" height="35" align="right" valign="top" nowrap="nowrap">{lang menu_cookie_time} :&nbsp;&nbsp;&nbsp;</td>
<td height="35" valign="top">
<input type="radio" name="cookietime" value="2592000" checked> {lang button_save} &nbsp;
<input type="radio" name="cookietime" value="0"> {lang button_nosave}</td></tr>
</table>
</form>
<br />
</div>
</div>
</div>
<br />
{template footer}